/*
* @Author: qingsong-Liu
* @Date:   2019-08-05 20:19:47
* @Last Modified by:   qingsong-Liu
* @Last Modified time: 2019-08-31 13:56:16
*/
'use strict';
require('./index.css');
require('page/common/nav-simple/index.js');
var _mm=require('util/mm.js');

$(function(){
    var type=_mm.getUrlParam('type')||'default',
        $elemet=$('.'+type+'-success');
    if (type === 'payment') {
        var orderNumber = _mm.getUrlParam('orderNumber'),
            $orderNumber = $elemet.find('.order-number');
        $orderNumber.attr('href',$orderNumber.attr('href') + orderNumber);
    }
    // 显示对应的提示元素
    $elemet.show();

})
